package com.backwaveweibo.bww.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * @author GHW : RD-Kelsey
 * @description 微博 评论Comments 实体
 * @date 2020/6/8
 * <p>
 * commentsId : 评论id
 * date : 评论日期
 * content : 评论内容
 * userId : 评论人id
 * user : 评论的用户
 * weibo : 在哪条微博下的评论
 */

@Data
@ToString
@Accessors(chain = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Comments {

    private Long commentsId;
    private String date;
    private String content;
    private Long userId;

    private User user;
    private Weibo weibo;

}
